Feature: Crear un tag, Crear un nuevo post, agregarle el tag y publicarlo ,y eliminar el post y validar que ya no aparece al buscar por tag

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
2m 42.140s

Scenario: Como autor creo un tag, creo un post y le asigno el tag,elimino el post y valido que no aparece en filtro por tag

Before 0m 2.081s
Given I go to page "<HOST>" "ghost/#/signin" 0m 8.275s
And I sign in with "<USERNAME>" and "<PASSWORD>" 0m 3.865s
And I go to page "<HOST>" "ghost/#/tags" 0m 7.730s
And I create new tag with "$number_1" 0m 2.965s
When I click new post 0m 3.427s
And I set post attributes title "$name_1" and body "$string_2" 0m 3.067s
And I select tag with name "$$number_1" 0m 6.166s
And I close settings menu 0m 2.796s
And I publish the post 0m 3.013s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 7.831s
And I filter posts by tag with name "$$number_1" 0m 2.839s
Then I validate the post with "$$name_1" exists 0m 2.947s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 7.764s
And I Click a post with title "$$name_1" 0m 4.846s
And I press settings button 0m 2.931s
And I click delete from settings 0m 7.791s
And I delete post 0m 7.868s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 8.091s
And I filter posts by tag with name "$$number_1" 0m 2.838s
Then I validate the post with "$$name_1" not exists 0m 2.996s
After 0m 0.013s

Screenshots

Before
NO IMAGE AVAILABLE
Given I go to page "<HOST>" "ghost/#/signin"
And I sign in with "<USERNAME>" and "<PASSWORD>"
And I go to page "<HOST>" "ghost/#/tags"
And I create new tag with "$number_1"
When I click new post
And I set post attributes title "$name_1" and body "$string_2"
And I select tag with name "$$number_1"
And I close settings menu
And I publish the post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" exists
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I Click a post with title "$$name_1"
And I press settings button
And I click delete from settings
And I delete post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" not exists
After
NO IMAGE AVAILABLE